<template>
  <div class="box">
    <el-carousel indicator-position="outside">
      <el-carousel-item v-for="(item, index) in banner" :key="index">
        <img :src="item.image_src" alt="" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
  props: ["banner"],
  name: "",
  components: {},
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>
<style scoped lang="scss">
.box {
  width: 800px;
}
</style>
